package pers.ervinse.shoppingmall.domain;

public class realUser {
    private int id;         // 用户ID
    private String name;    // 用户名
    private String password; // 密码
    private int sex;        // 性别: 0为女, 1为男
    private String email;   // 邮箱
    private String avatarUrl; // 头像地址

    // 构造函数、getter和setter方法
    public realUser(int id, String name, String password, int sex, String email, String avatarUrl) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.sex = sex;
        this.email = email;
        this.avatarUrl = avatarUrl;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }
}
